setDropShadowEnabled

abstract fun setDropShadowEnabled(block: DesignBlock, enabled: Boolean)

Enable or disable the drop shadow of the given design block. Required scope: "appearance/shadow"

Parameters

block

the block whose drop shadow should be enabled or disabled.

enabled

if true, the drop shadow will be enabled.